cd ../
mvn clean package -Dmaven.test.skip=true

scp hipo-merchant/target/hipo-merchant-0.0.1-SNAPSHOT.jar root@hipo.lanchetech.com:/data/wwwroot/hipo-test/hipo-merchant/
ssh root@hipo.lanchetech.com "source /etc/profile; cd /data/wwwroot/hipo-test/hipo-merchant; /data/wwwroot/hipo-test/hipo-merchant/start.sh"
echo '测试环境部署商家系统成功'


ssh root@hipo.lanchetech.com "source /etc/profile; cp -f /data/wwwroot/hipo-test/hipo-merchant/hipo-merchant-0.0.1-SNAPSHOT.jar /data/wwwroot/hipo-prod/hipo-merchant/hipo-merchant-0.0.1-SNAPSHOT.jar;"
ssh root@hipo.lanchetech.com "source /etc/profile; cd /data/wwwroot/hipo-prod/hipo-merchant;  /data/wwwroot/hipo-prod/hipo-merchant/start.sh"
echo '生产部署商家后台成功'